package ru.ifmo.ctddev.krotkov.taskrunner;

public class Executor {
	void run() {
		Thread[] go = new Thread[10];
		TaskRunner tr = new TaskRunnerImpl(10);
		for (int i = 0; i < 5; i++) {
			go[i] = new Thread(new Client(tr, i + 1));
			go[i].start();
		}
	}

	public static void main(String[] args) {
		new Executor().run();
	}
}
